
import random
from PIL import Image
# print(random.choice(['1','ds','kk']))
# # ds

#print(random.choices(['1','ds','kk']))
#['ds']

#
# print('hello word1')
# print(eval('exit'))
#
# # for i in range(10):
# #     print(i)
# while True:
#
#     number = input('请输入数字：')
#     if number > '5':
#         break
#     else:
#         print('请继续。。')
#         continue
#
# # print(eval(exit(0)))
#
# d= {'a':1}
# d1 = {'b':2}
# d.update(d1)
# print(d)

def check_gray_image(img_path):
    img=Image.open(img_path)
    layers=img.tell
    if(layers==1):
        return True
    else:
        return False



























